package com.xbn.xbnmall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author XBN
 * @date 2020/7/31 15:19
 * @email 78742541@qq.com
 */
/*
* 二级菜单及三级菜单数据
* */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {
    private String catalog1Id;//1级父分类的id
    private List<Catelog2Vo.Catelog3Vo> catalog3List;//3级子分类的id
    private String id;
    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{
        private String catalogs2Id;//父分类，2级分类id
        private String id;
        private String name;

    }

}
